
import layout from '@/views/images/module/Layout'
export default [
  {
    path: '/images',
    name: 'images',
    component: () => import('@/views/images/lis'),
    affiliation: 'main',
    meta: { title: '我的环境', icon: 'icon13', name: 'images' },
  },
  {
    path: '/images/detail',
    name: 'imagesdetail',
    component: () => import('@/views/images/detail'),
    // affiliation: 'main',
    meta: { title: '构建镜像', icon: 'icon13', name: 'images' },
  },
  {
    path: '/images',
    name: 'images',
    component: layout,
    // affiliation: 'main',
    meta: { title: '镜像构建', icon: 'icon13', name: 'images' },
    children: [
      {
        path: 'code',
        component: () => import('@/views/images/code'),
        name: 'imagescode',
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "images"
        }
      },
      {
        path: 'file',
        component: () => import('@/views/images/file'),
        name: 'imagesfile',
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "images"
        }
      },
      {
        path: 'metrics',
        component: () => import('@/views/images/module/metrics'),
        name: 'imagesmetrics',
        meta: {
          title: '监控',
          icon: 'nav-menu-icon1',
          affiliation: "images"
        }
      },
      {
        path: 'log',
        component: () => import('@/views/images/module/log'),
        name: 'imageslog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "images"
        }
      },
    ]
  },
]
